package com.example.demo.jpa.config.exception;

public enum ExceptionResp {

    CUSTOM_NOT_FOUND(404, 404001, "custom not found"),
    ORG_NOT_FOUND(404, 404002, "org not found"),
    FINANCIALPRODUCT_NOT_FOUND(404,404003,"financialproduct not found"),
    INTERNAL_ERROR(500, 500001, "Internal Server Error");


    private int status;
    private int code;
    private String msg;

    ExceptionResp(int status, int code, String msg) {
        this.status = status;
        this.code = code;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
